x86/arm64: Expose the ALT_[ORIG|REPL]_PTR macros to header files.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 12 Aug 2016 20:11:27 +0000 (16:11 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 9 Sep 2016 15:48:21 +0000 (11:48 -0400)
commit3e883d8b7ac22ce92120a78a82426bb62f6b9c15
tree39498239713c4bb26b0c7176c9637ac5c5307203
parentaa1ae74cb565840a7994c803b4bd935d64d0dce5
x86/arm64: Expose the ALT_[ORIG|REPL]_PTR macros to header files.

That way common code can use the same macro to access
the most common attributes without much #ifdef.

Take advantage of it right away in the livepatch code.

Note: on ARM we use tabs to conform to the style of the file.

Acked-by: Julien Grall <julien.grall@arm.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/arch/arm/alternative.c
xen/common/livepatch.c
xen/include/asm-arm/alternative.h
xen/include/asm-x86/alternative.h